.class public Lcom/nemustech/regina/ReginaPreference;
.super Ljava/lang/Object;
.source "ReginaPreference.java"


# static fields
.field public static final BACKUP_WALLPAPER_FOLDER_NAME:Ljava/lang/String; = "ReginaBackup"

.field public static final DEVOLOPER_MODE_PASSWORD:Ljava/lang/String; = "131422134"

.field public static final INITIALIZATION_FLAG_DEF:I = -0x1

.field public static final KEY_APPLIST_SCROLL_EFFECT:Ljava/lang/String; = "regina.applist.scroll.effect"

.field public static final KEY_CLOCK_WIDGET_APP_CLASS_NAME:Ljava/lang/String; = "regina.widget.clock.app.class.name"

.field public static final KEY_CLOCK_WIDGET_APP_PACKAGE_NAME:Ljava/lang/String; = "regina.widget.clock.app.package.name"

.field public static final KEY_CLOCK_WIDGET_CITY_CODE:Ljava/lang/String; = "regina.widget.clock.city.code"

.field public static final KEY_CLOCK_WIDGET_CITY_DATA:Ljava/lang/String; = "regina.widget.clock.city"

.field public static final KEY_CLOCK_WIDGET_CITY_NAME:Ljava/lang/String; = "regina.widget.clock.city.name"

.field public static final KEY_CLOCK_WIDGET_GMT:Ljava/lang/String; = "regina.widget.clock.gmt"

.field public static final KEY_CLOCK_WIDGET_HOUR_MODE:Ljava/lang/String; = "regina.widget.clock.hour.mode"

.field public static final KEY_CLOCK_WIDGET_TEMP_UNIT:Ljava/lang/String; = "regina.widget.clock.temp.unit"

.field public static final KEY_CLOCK_WIDGET_UPDATE_PERIOD:Ljava/lang/String; = "regina.widget.clock.update.period"

.field public static final KEY_DEVELOPER_MODE:Ljava/lang/String; = "regina.launcher.modev"

.field public static final KEY_INITIALIZATION_FLAG:Ljava/lang/String; = "regina.launcher.initialization"

.field public static final KEY_RESTART_BY_RESTORE:Ljava/lang/String; = "regina.launcher.restart"

.field public static final KEY_RGWIDGET_APPMGR_PREF_ROW:Ljava/lang/String; = "regina.widget.appmgr.pref.row"

.field public static final KEY_RGWIDGET_APPT_APP_CLS:Ljava/lang/String; = "regina.widget.appt.cls"

.field public static final KEY_RGWIDGET_APPT_APP_PKG:Ljava/lang/String; = "regina.widget.appt.pkg"

.field public static final KEY_RGWIDGET_APPT_PREF_ROW:Ljava/lang/String; = "regina.widget.appt.pref.row"

.field public static final KEY_RGWIDGET_TASKS_PREF_ROW:Ljava/lang/String; = "regina.widget.task.pref.row"

.field public static final KEY_SECRET_PASSNUM:Ljava/lang/String; = "regina.launcher.secret.passnum"

.field public static final KEY_SET_TO_DEFAULTS:Ljava/lang/String; = "regina.launcher.settodefaults"

.field public static final KEY_THEME_WALLPAPER_FLAG:Ljava/lang/String; = "regina.theme.wallpaper.flag"

.field public static final KEY_THEME_WALLPAPER_PACKAGE:Ljava/lang/String; = "regina.theme.wallpaper.package"

.field public static final KEY_THEME_WALLPAPER_RESID:Ljava/lang/String; = "regina.theme.wallpaper.resid"

.field public static final KEY_THEME_WALLPAPER_WORKSPACE_INDEX:Ljava/lang/String; = "regina.theme.wallpaper.workspace.index"

.field public static final KEY_WORKSPACE_ENDLESS:Ljava/lang/String; = "regina.workspace.endless"

.field public static final KEY_WORKSPACE_LEFT_APP_CLASS_NAME:Ljava/lang/String; = "regina.workspace.left.app.class.name"

.field public static final KEY_WORKSPACE_LEFT_APP_ICON:Ljava/lang/String; = "regina.workspace.left.app.icon"

.field public static final KEY_WORKSPACE_LEFT_APP_INTENT_ACTION:Ljava/lang/String; = "regina.workspace.left.app.intent.action"

.field public static final KEY_WORKSPACE_LEFT_APP_PACKAGE_NAME:Ljava/lang/String; = "regina.workspace.left.app.package.name"

.field public static final KEY_WORKSPACE_MAX_NO:Ljava/lang/String; = "regina.workspace.max_no"

.field public static final KEY_WORKSPACE_MIN_NO:Ljava/lang/String; = "regina.workspace.min_no"

.field public static final KEY_WORKSPACE_NAME:Ljava/lang/String; = "regina.workspace.name"

.field public static final KEY_WORKSPACE_RIGHT_APP_CLASS_NAME:Ljava/lang/String; = "regina.workspace.right.app.class.name"

.field public static final KEY_WORKSPACE_RIGHT_APP_ICON:Ljava/lang/String; = "regina.workspace.right.app.icon"

.field public static final KEY_WORKSPACE_RIGHT_APP_INTENT_ACTION:Ljava/lang/String; = "regina.workspace.right.app.intent.action"

.field public static final KEY_WORKSPACE_RIGHT_APP_PACKAGE_NAME:Ljava/lang/String; = "regina.workspace.right.app.package.name"

.field public static final KEY_WORKSPACE_UID:Ljava/lang/String; = "regina.workspace.uid"

.field public static final KEY_WORKSPACE_WALLPAPER:Ljava/lang/String; = "regina.workspace.wallpaper"

.field public static final KEY_WORKSPACE_WALLPAPER_POSTFIX:Ljava/lang/String; = "regina.workspace.background.postfix"

.field public static final KEY_WORKSPACE_WALLPAPER_PREFIX:Ljava/lang/String; = "regina.workspace.background.prefix"

.field public static final PACKAGE_NAME_REGINA_DEFAULT_THEME:Ljava/lang/String; = "com.nemustech.regina.theme"

.field public static final PACKAGE_NAME_REGINA_LAUNCHER:Ljava/lang/String; = "com.nemustech.regina"

.field public static final PACKAGE_NAME_TASKS:Ljava/lang/String; = "com.nemustech.regina.apps.tasks"

.field public static final PACKAGE_NAME_WEATHER:Ljava/lang/String; = "com.nemustech.regina.apps.weather"

.field public static final PACKAGE_NAME_WEATHER_SERVER:Ljava/lang/String; = "com.nemustech.regina.weatherserver"

.field public static final REGINA_LAUNCHER_PACKAGE:Ljava/lang/String; = "com.nemustech.regina"

.field public static final SECRET_CHECK_TICK:I = 0x2710

.field public static final SECRET_NUM:I = 0x14

.field private static final TAG:Ljava/lang/String; = "ReginaPreference"

.field public static final WORKSPACE_CELL_NO:I = 0x4

.field private static final WORKSPACE_DEF_NO:I = 0x5

.field private static final WORKSPACE_MAX_NO:I = 0x7

.field private static final WORKSPACE_MIN_NO:I = 0x3

.field private static final WORKSPACE_SECRET_DEF_NO:I = 0x3

.field private static final WORKSPACE_SECRET_MAX_NO:I = 0x3

.field private static final WORKSPACE_SECRET_MIN_NO:I = 0x3

.field private static final WORKSPACE_WALLPAPER_POSTFIX:Ljava/lang/String; = "_wallpaper.png"

.field private static final WORKSPACE_WALLPAPER_PREFIX:Ljava/lang/String; = "wallpaper_"


# instance fields
.field private mAppContext:Landroid/content/Context;

.field private mSharedEditor:Landroid/content/SharedPreferences$Editor;

.field private mSharedPref:Landroid/content/SharedPreferences;

.field private mWeatherSharedPref:Landroid/content/SharedPreferences;


# direct methods
.method public constructor <init>(Lcom/nemustech/regina/ReginaLauncher;)V
    .locals 11
    .parameter "reginaLauncher"

    .prologue
    .line 107
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 108
    invoke-virtual {p1}, Lcom/nemustech/regina/ReginaLauncher;->getApplicationContext()Landroid/content/Context;

    move-result-object v8

    iput-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mAppContext:Landroid/content/Context;

    .line 109
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mAppContext:Landroid/content/Context;

    iget-object v9, p0, Lcom/nemustech/regina/ReginaPreference;->mAppContext:Landroid/content/Context;

    const v10, 0x7f070001

    invoke-virtual {v9, v10}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v9

    const/4 v10, 0x0

    invoke-virtual {v8, v9, v10}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v8

    iput-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    .line 110
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    invoke-interface {v8}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v8

    iput-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    .line 115
    invoke-virtual {p0}, Lcom/nemustech/regina/ReginaPreference;->getRestartByRestore()Z

    move-result v4

    .line 118
    .local v4, restart:Z
    invoke-virtual {p0}, Lcom/nemustech/regina/ReginaPreference;->getInitializationStatus()I

    move-result v8

    const/4 v9, -0x1

    if-eq v8, v9, :cond_0

    invoke-virtual {p0}, Lcom/nemustech/regina/ReginaPreference;->getSetToDefaults()Z

    move-result v8

    const/4 v9, 0x1

    if-ne v8, v9, :cond_15

    const/4 v8, 0x1

    if-ne v4, v8, :cond_15

    .line 120
    :cond_0
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    iget-object v9, p0, Lcom/nemustech/regina/ReginaPreference;->mAppContext:Landroid/content/Context;

    const v10, 0x7f070095

    invoke-virtual {v9, v10}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v9

    invoke-interface {v8, v9}, Landroid/content/SharedPreferences;->contains(Ljava/lang/String;)Z

    move-result v8

    if-nez v8, :cond_1

    .line 121
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    iget-object v9, p0, Lcom/nemustech/regina/ReginaPreference;->mAppContext:Landroid/content/Context;

    const v10, 0x7f070095

    invoke-virtual {v9, v10}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v9

    const/4 v10, 0x5

    invoke-interface {v8, v9, v10}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    .line 124
    :cond_1
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v9, "regina.workspace.min_no"

    invoke-interface {v8, v9}, Landroid/content/SharedPreferences;->contains(Ljava/lang/String;)Z

    move-result v8

    if-nez v8, :cond_2

    .line 125
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v9, "regina.workspace.min_no"

    const/4 v10, 0x3

    invoke-interface {v8, v9, v10}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    .line 127
    :cond_2
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v9, "regina.workspace.max_no"

    invoke-interface {v8, v9}, Landroid/content/SharedPreferences;->contains(Ljava/lang/String;)Z

    move-result v8

    if-nez v8, :cond_3

    .line 128
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v9, "regina.workspace.max_no"

    const/4 v10, 0x7

    invoke-interface {v8, v9, v10}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    .line 131
    :cond_3
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    iget-object v9, p0, Lcom/nemustech/regina/ReginaPreference;->mAppContext:Landroid/content/Context;

    const v10, 0x7f070090

    invoke-virtual {v9, v10}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v9

    invoke-interface {v8, v9}, Landroid/content/SharedPreferences;->contains(Ljava/lang/String;)Z

    move-result v8

    if-nez v8, :cond_4

    .line 132
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    iget-object v9, p0, Lcom/nemustech/regina/ReginaPreference;->mAppContext:Landroid/content/Context;

    const v10, 0x7f070090

    invoke-virtual {v9, v10}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v9

    const/4 v10, 0x3

    invoke-interface {v8, v9, v10}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    .line 135
    :cond_4
    const-string v8, "regina.workspace.min_no"

    const/4 v9, 0x1

    invoke-direct {p0, v8, v9}, Lcom/nemustech/regina/ReginaPreference;->getPrefKey(Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v3

    .line 136
    .local v3, key:Ljava/lang/String;
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    invoke-interface {v8, v3}, Landroid/content/SharedPreferences;->contains(Ljava/lang/String;)Z

    move-result v8

    if-nez v8, :cond_5

    .line 137
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const/4 v9, 0x3

    invoke-interface {v8, v3, v9}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    .line 140
    :cond_5
    const-string v8, "regina.workspace.max_no"

    const/4 v9, 0x1

    invoke-direct {p0, v8, v9}, Lcom/nemustech/regina/ReginaPreference;->getPrefKey(Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v3

    .line 141
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    invoke-interface {v8, v3}, Landroid/content/SharedPreferences;->contains(Ljava/lang/String;)Z

    move-result v8

    if-nez v8, :cond_6

    .line 142
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const/4 v9, 0x3

    invoke-interface {v8, v3, v9}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    .line 145
    :cond_6
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v9, "regina.workspace.background.postfix"

    invoke-interface {v8, v9}, Landroid/content/SharedPreferences;->contains(Ljava/lang/String;)Z

    move-result v8

    if-nez v8, :cond_7

    .line 146
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v9, "regina.workspace.background.postfix"

    const-string v10, "_wallpaper.png"

    invoke-interface {v8, v9, v10}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 149
    :cond_7
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v9, "regina.workspace.background.prefix"

    invoke-interface {v8, v9}, Landroid/content/SharedPreferences;->contains(Ljava/lang/String;)Z

    move-result v8

    if-nez v8, :cond_8

    .line 150
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v9, "regina.workspace.background.prefix"

    const-string v10, "wallpaper_"

    invoke-interface {v8, v9, v10}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 153
    :cond_8
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v9, "regina.widget.appt.pkg"

    invoke-interface {v8, v9}, Landroid/content/SharedPreferences;->contains(Ljava/lang/String;)Z

    move-result v8

    if-nez v8, :cond_9

    .line 154
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v9, "regina.widget.appt.pkg"

    const/4 v10, 0x0

    invoke-interface {v8, v9, v10}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 156
    :cond_9
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v9, "regina.widget.appt.cls"

    invoke-interface {v8, v9}, Landroid/content/SharedPreferences;->contains(Ljava/lang/String;)Z

    move-result v8

    if-nez v8, :cond_a

    .line 157
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v9, "regina.widget.appt.cls"

    const/4 v10, 0x0

    invoke-interface {v8, v9, v10}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 160
    :cond_a
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v9, "regina.launcher.initialization"

    invoke-interface {v8, v9}, Landroid/content/SharedPreferences;->contains(Ljava/lang/String;)Z

    move-result v8

    if-nez v8, :cond_b

    .line 161
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v9, "regina.launcher.initialization"

    const/4 v10, -0x1

    invoke-interface {v8, v9, v10}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    .line 164
    :cond_b
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v9, "regina.theme.wallpaper.package"

    invoke-interface {v8, v9}, Landroid/content/SharedPreferences;->contains(Ljava/lang/String;)Z

    move-result v8

    if-nez v8, :cond_c

    .line 165
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v9, "regina.theme.wallpaper.package"

    const/4 v10, 0x0

    invoke-interface {v8, v9, v10}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 168
    :cond_c
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v9, "regina.theme.wallpaper.resid"

    invoke-interface {v8, v9}, Landroid/content/SharedPreferences;->contains(Ljava/lang/String;)Z

    move-result v8

    if-nez v8, :cond_d

    .line 169
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v9, "regina.theme.wallpaper.resid"

    const/4 v10, 0x0

    invoke-interface {v8, v9, v10}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    .line 172
    :cond_d
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v9, "regina.launcher.modev"

    invoke-interface {v8, v9}, Landroid/content/SharedPreferences;->contains(Ljava/lang/String;)Z

    move-result v8

    if-nez v8, :cond_e

    .line 173
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v9, "regina.launcher.modev"

    const/4 v10, 0x0

    invoke-interface {v8, v9, v10}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;

    .line 176
    :cond_e
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const v9, 0x7f070093

    invoke-virtual {p1, v9}, Lcom/nemustech/regina/ReginaLauncher;->getString(I)Ljava/lang/String;

    move-result-object v9

    invoke-interface {v8, v9}, Landroid/content/SharedPreferences;->contains(Ljava/lang/String;)Z

    move-result v8

    if-nez v8, :cond_f

    .line 177
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const v9, 0x7f070093

    invoke-virtual {p1, v9}, Lcom/nemustech/regina/ReginaLauncher;->getString(I)Ljava/lang/String;

    move-result-object v9

    const/4 v10, 0x1

    invoke-interface {v8, v9, v10}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;

    .line 180
    :cond_f
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v9, "regina.applist.scroll.effect"

    invoke-interface {v8, v9}, Landroid/content/SharedPreferences;->contains(Ljava/lang/String;)Z

    move-result v8

    if-nez v8, :cond_10

    .line 181
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v9, "regina.applist.scroll.effect"

    const/4 v10, 0x1

    invoke-interface {v8, v9, v10}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;

    .line 186
    :cond_10
    const/4 v6, 0x0

    .line 188
    .local v6, wallpaperIndex:I
    const/4 v2, 0x0

    .local v2, j:I
    :goto_0
    const/4 v8, 0x2

    if-ge v2, v8, :cond_14

    .line 190
    if-nez v2, :cond_11

    const/4 v8, 0x0

    move v1, v8

    .line 191
    .local v1, isSecret:Z
    :goto_1
    invoke-virtual {p0, v1}, Lcom/nemustech/regina/ReginaPreference;->getWorkspaceCount(Z)I

    move-result v7

    .line 192
    .local v7, wsCount:I
    const/4 v0, 0x0

    .local v0, i:I
    :goto_2
    if-ge v0, v7, :cond_13

    .line 195
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    new-instance v9, Ljava/lang/StringBuilder;

    invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V

    const-string v10, "regina.workspace.uid."

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v9

    invoke-direct {p0, v9, v1}, Lcom/nemustech/regina/ReginaPreference;->getPrefKey(Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v9

    invoke-interface {v8, v9}, Landroid/content/SharedPreferences;->contains(Ljava/lang/String;)Z

    move-result v8

    if-nez v8, :cond_12

    .line 196
    invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;

    move-result-object v8

    invoke-virtual {v8}, Ljava/util/UUID;->hashCode()I

    move-result v5

    .line 197
    .local v5, uid:I
    invoke-virtual {p0, v0, v5, v1}, Lcom/nemustech/regina/ReginaPreference;->setWorkspaceUID(IIZ)V

    .line 192
    :goto_3
    add-int/lit8 v0, v0, 0x1

    goto :goto_2

    .line 190
    .end local v0           #i:I
    .end local v1           #isSecret:Z
    .end local v5           #uid:I
    .end local v7           #wsCount:I
    :cond_11
    const/4 v8, 0x1

    move v1, v8

    goto :goto_1

    .line 200
    .restart local v0       #i:I
    .restart local v1       #isSecret:Z
    .restart local v7       #wsCount:I
    :cond_12
    invoke-virtual {p0, v0, v1}, Lcom/nemustech/regina/ReginaPreference;->getWorkspaceUID(IZ)I

    move-result v5

    .restart local v5       #uid:I
    goto :goto_3

    .line 188
    .end local v5           #uid:I
    :cond_13
    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    .line 208
    .end local v0           #i:I
    .end local v1           #isSecret:Z
    .end local v7           #wsCount:I
    :cond_14
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v9, "regina.launcher.settodefaults"

    const/4 v10, 0x1

    invoke-interface {v8, v9, v10}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;

    .line 209
    iget-object v8, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    invoke-interface {v8}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 212
    .end local v2           #j:I
    .end local v3           #key:Ljava/lang/String;
    .end local v6           #wallpaperIndex:I
    :cond_15
    const/4 v8, 0x0

    invoke-virtual {p0, v8}, Lcom/nemustech/regina/ReginaPreference;->setRestartByRestore(Z)V

    .line 213
    invoke-virtual {p0}, Lcom/nemustech/regina/ReginaPreference;->commitPref()Z

    .line 215
    invoke-virtual {p0, p1}, Lcom/nemustech/regina/ReginaPreference;->registerPreferenceChangeListener(Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;)V

    .line 216
    return-void
.end method

.method private getPrefKey(Ljava/lang/String;Z)Ljava/lang/String;
    .locals 2
    .parameter "key"
    .parameter "bSecret"

    .prologue
    .line 779
    if-eqz p2, :cond_0

    .line 780
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ".s"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 782
    :goto_0
    return-object v0

    :cond_0
    move-object v0, p1

    goto :goto_0
.end method

.method private getWorkspaceIndex(IZ)I
    .locals 7
    .parameter "uid"
    .parameter "bSecret"

    .prologue
    const/4 v6, -0x1

    .line 348
    invoke-virtual {p0, p2}, Lcom/nemustech/regina/ReginaPreference;->getWorkspaceCount(Z)I

    move-result v3

    .line 350
    .local v3, workspaceCount:I
    const/4 v0, 0x0

    .local v0, i:I
    :goto_0
    if-ge v0, v3, :cond_1

    .line 351
    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, "regina.workspace.uid."

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-direct {p0, v4, p2}, Lcom/nemustech/regina/ReginaPreference;->getPrefKey(Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v1

    .line 352
    .local v1, key:Ljava/lang/String;
    iget-object v4, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    invoke-interface {v4, v1, v6}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v2

    .line 353
    .local v2, localid:I
    if-ne p1, v2, :cond_0

    move v4, v0

    .line 355
    .end local v1           #key:Ljava/lang/String;
    .end local v2           #localid:I
    :goto_1
    return v4

    .line 350
    .restart local v1       #key:Ljava/lang/String;
    .restart local v2       #localid:I
    :cond_0
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .end local v1           #key:Ljava/lang/String;
    .end local v2           #localid:I
    :cond_1
    move v4, v6

    .line 355
    goto :goto_1
.end method

.method private setWorkspaceCount(IZ)V
    .locals 3
    .parameter "newCount"
    .parameter "bSecret"

    .prologue
    .line 249
    if-eqz p2, :cond_0

    .line 250
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    iget-object v1, p0, Lcom/nemustech/regina/ReginaPreference;->mAppContext:Landroid/content/Context;

    const v2, 0x7f070090

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    .line 253
    :goto_0
    return-void

    .line 252
    :cond_0
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    iget-object v1, p0, Lcom/nemustech/regina/ReginaPreference;->mAppContext:Landroid/content/Context;

    const v2, 0x7f070095

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    goto :goto_0
.end method


# virtual methods
.method public addWorkspace()I
    .locals 7

    .prologue
    const/4 v6, 0x0

    .line 282
    const/4 v0, 0x0

    .line 283
    .local v0, isSecret:Z
    invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;

    move-result-object v4

    invoke-virtual {v4}, Ljava/util/UUID;->hashCode()I

    move-result v2

    .line 284
    .local v2, uid:I
    invoke-virtual {p0, v6}, Lcom/nemustech/regina/ReginaPreference;->getWorkspaceCount(Z)I

    move-result v3

    .line 286
    .local v3, wsCount:I
    invoke-virtual {p0, v6}, Lcom/nemustech/regina/ReginaPreference;->getWorkspaceMaxCount(Z)I

    move-result v4

    if-lt v3, v4, :cond_0

    .line 287
    new-instance v4, Ljava/lang/IllegalStateException;

    const-string v5, "Max workspace count exceeded"

    invoke-direct {v4, v5}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v4

    .line 289
    :cond_0
    add-int/lit8 v4, v3, 0x1

    invoke-direct {p0, v4, v6}, Lcom/nemustech/regina/ReginaPreference;->setWorkspaceCount(IZ)V

    .line 291
    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, "regina.workspace.uid."

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-direct {p0, v4, v6}, Lcom/nemustech/regina/ReginaPreference;->getPrefKey(Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v1

    .line 294
    .local v1, key:Ljava/lang/String;
    iget-object v4, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    invoke-interface {v4, v1}, Landroid/content/SharedPreferences;->contains(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_1

    .line 295
    new-instance v4, Ljava/lang/IllegalStateException;

    const-string v5, "Adding workspace uid key already exists"

    invoke-direct {v4, v5}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v4

    .line 298
    :cond_1
    invoke-virtual {p0, v3, v2, v6}, Lcom/nemustech/regina/ReginaPreference;->setWorkspaceUID(IIZ)V

    .line 299
    const-string v4, "ReginaPreference"

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    const-string v6, "New workspace uid "

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, " has been recorded."

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-static {v4, v5}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 303
    const-string v4, "1"

    invoke-virtual {p0, v2, v4}, Lcom/nemustech/regina/ReginaPreference;->setWallpaper(ILjava/lang/String;)V

    .line 304
    invoke-virtual {p0}, Lcom/nemustech/regina/ReginaPreference;->commitPref()Z

    .line 305
    return v2
.end method

.method public commitPref()Z
    .locals 1

    .prologue
    .line 775
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z

    move-result v0

    return v0
.end method

.method public getBrowserName()Z
    .locals 3

    .prologue
    .line 476
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    iget-object v1, p0, Lcom/nemustech/regina/ReginaPreference;->mAppContext:Landroid/content/Context;

    const v2, 0x7f0700a9

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x1

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z

    move-result v0

    return v0
.end method

.method public getClockWidgetApp()Landroid/content/ComponentName;
    .locals 5

    .prologue
    .line 644
    iget-object v2, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v3, "regina.widget.clock.app.package.name"

    const-string v4, ""

    invoke-interface {v2, v3, v4}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 645
    .local v1, packageName:Ljava/lang/String;
    iget-object v2, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v3, "regina.widget.clock.app.class.name"

    const-string v4, ""

    invoke-interface {v2, v3, v4}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 646
    .local v0, className:Ljava/lang/String;
    const-string v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_0

    const-string v2, ""

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_0

    .line 647
    new-instance v2, Landroid/content/ComponentName;

    invoke-direct {v2, v1, v0}, Landroid/content/ComponentName;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    .line 648
    :goto_0
    return-object v2

    :cond_0
    const/4 v2, 0x0

    goto :goto_0
.end method

.method public getClockWidgetCityCode(Ljava/lang/String;)Ljava/lang/String;
    .locals 3
    .parameter "widgetId"

    .prologue
    .line 581
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "regina.widget.clock.city.code."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getClockWidgetCityData(Ljava/lang/String;)Ljava/lang/String;
    .locals 3
    .parameter "widgetId"

    .prologue
    .line 555
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "regina.widget.clock.city."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getClockWidgetCityName(Ljava/lang/String;)Ljava/lang/String;
    .locals 3
    .parameter "widgetId"

    .prologue
    .line 569
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "regina.widget.clock.city.name."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getClockWidgetGmt(Ljava/lang/String;)Ljava/lang/String;
    .locals 3
    .parameter "widgetId"

    .prologue
    .line 593
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "regina.widget.clock.gmt."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getClockWidgetHourMode(Ljava/lang/String;)Z
    .locals 3
    .parameter "widgetId"

    .prologue
    .line 621
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "regina.widget.clock.hour.mode."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z

    move-result v0

    return v0
.end method

.method public getClockWidgetTempUnit(Ljava/lang/String;)I
    .locals 3
    .parameter "widgetId"

    .prologue
    .line 609
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "regina.widget.clock.temp.unit."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v0

    return v0
.end method

.method public getDefWorkspaceCount(Z)I
    .locals 1
    .parameter "bSecret"

    .prologue
    .line 263
    if-eqz p1, :cond_0

    .line 264
    const/4 v0, 0x3

    .line 266
    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x5

    goto :goto_0
.end method

.method public getInitializationStatus()I
    .locals 3

    .prologue
    .line 656
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v1, "regina.launcher.initialization"

    const/4 v2, -0x1

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v0

    return v0
.end method

.method public getReflectionAppList()Z
    .locals 3

    .prologue
    .line 488
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    iget-object v1, p0, Lcom/nemustech/regina/ReginaPreference;->mAppContext:Landroid/content/Context;

    const v2, 0x7f0700a1

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x1

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z

    move-result v0

    return v0
.end method

.method public getReflectionWsScroller()Z
    .locals 3

    .prologue
    .line 484
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    iget-object v1, p0, Lcom/nemustech/regina/ReginaPreference;->mAppContext:Landroid/content/Context;

    const v2, 0x7f0700a0

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x1

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z

    move-result v0

    return v0
.end method

.method public getReginaWidgetAppmgrPrefRow()I
    .locals 3

    .prologue
    .line 545
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v1, "regina.widget.appmgr.pref.row"

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v0

    return v0
.end method

.method public getReginaWidgetApptClassName()Ljava/lang/String;
    .locals 3

    .prologue
    .line 521
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v1, "regina.widget.appt.cls"

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getReginaWidgetApptPackageName()Ljava/lang/String;
    .locals 3

    .prologue
    .line 513
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v1, "regina.widget.appt.pkg"

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getReginaWidgetApptPrefRow()I
    .locals 3

    .prologue
    .line 529
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v1, "regina.widget.appt.pref.row"

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v0

    return v0
.end method

.method public getReginaWidgetTasksPrefRow()I
    .locals 3

    .prologue
    .line 537
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v1, "regina.widget.task.pref.row"

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v0

    return v0
.end method

.method public getRestartByRestore()Z
    .locals 3

    .prologue
    .line 444
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v1, "regina.launcher.restart"

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z

    move-result v0

    return v0
.end method

.method public getSecretPassword()Ljava/lang/String;
    .locals 3

    .prologue
    .line 460
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v1, "regina.launcher.secret.passnum"

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getSetToDefaults()Z
    .locals 3

    .prologue
    .line 452
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v1, "regina.launcher.settodefaults"

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z

    move-result v0

    return v0
.end method

.method public getShortCutExpansion()Z
    .locals 3

    .prologue
    .line 492
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    iget-object v1, p0, Lcom/nemustech/regina/ReginaPreference;->mAppContext:Landroid/content/Context;

    const v2, 0x7f0700a2

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x1

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z

    move-result v0

    return v0
.end method

.method public getThemeWallpaperFlag()Z
    .locals 3

    .prologue
    .line 740
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v1, "regina.theme.wallpaper.flag"

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z

    move-result v0

    return v0
.end method

.method public getThemeWallpaperPackage()Ljava/lang/String;
    .locals 3

    .prologue
    .line 728
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v1, "regina.theme.wallpaper.package"

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getThemeWallpaperResid()I
    .locals 3

    .prologue
    .line 736
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v1, "regina.theme.wallpaper.resid"

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v0

    return v0
.end method

.method public getThemeWallpaperWorkspaceIndex()I
    .locals 3

    .prologue
    .line 752
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v1, "regina.theme.wallpaper.workspace.index"

    const/4 v2, -0x1

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v0

    return v0
.end method

.method public getUpdatePeriod()J
    .locals 4

    .prologue
    .line 633
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v1, "regina.widget.clock.update.period"

    const-wide/16 v2, -0x1

    invoke-interface {v0, v1, v2, v3}, Landroid/content/SharedPreferences;->getLong(Ljava/lang/String;J)J

    move-result-wide v0

    return-wide v0
.end method

.method public getWallpaper(I)Ljava/lang/String;
    .locals 5
    .parameter "workspaceUID"

    .prologue
    const/4 v4, 0x0

    .line 500
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "regina.workspace.wallpaper."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 501
    .local v0, key:Ljava/lang/String;
    const-string v1, "ReginaPreference"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "[getWallpaper()] wallpaperKEY="

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 502
    const-string v1, "ReginaPreference"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "[getWallpaper()] mSharedPref.getString( key, null )="

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v3, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    invoke-interface {v3, v0, v4}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 503
    iget-object v1, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    invoke-interface {v1, v0, v4}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    return-object v1
.end method

.method public getWorkpaceWallpaperPostfix()Ljava/lang/String;
    .locals 3

    .prologue
    .line 436
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v1, "regina.workspace.background.postfix"

    const-string v2, "_wallpaper.png"

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getWorkpaceWallpaperPrefix()Ljava/lang/String;
    .locals 3

    .prologue
    .line 440
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v1, "regina.workspace.background.prefix"

    const-string v2, "wallpaper_"

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getWorkspaceCount(Z)I
    .locals 3
    .parameter "bSecret"

    .prologue
    .line 256
    if-eqz p1, :cond_0

    .line 257
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    iget-object v1, p0, Lcom/nemustech/regina/ReginaPreference;->mAppContext:Landroid/content/Context;

    const v2, 0x7f070090

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x3

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v0

    .line 259
    :goto_0
    return v0

    :cond_0
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    iget-object v1, p0, Lcom/nemustech/regina/ReginaPreference;->mAppContext:Landroid/content/Context;

    const v2, 0x7f070095

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x5

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v0

    goto :goto_0
.end method

.method public getWorkspaceEndless(Z)Z
    .locals 4
    .parameter "isSecret"

    .prologue
    const/4 v3, 0x0

    .line 464
    if-eqz p1, :cond_0

    move v0, v3

    .line 468
    :goto_0
    return v0

    :cond_0
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    iget-object v1, p0, Lcom/nemustech/regina/ReginaPreference;->mAppContext:Landroid/content/Context;

    const v2, 0x7f070096

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1, v3}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z

    move-result v0

    goto :goto_0
.end method

.method public getWorkspaceIndex(I)I
    .locals 6
    .parameter "uid"

    .prologue
    .line 362
    const/4 v2, 0x0

    .local v2, j:I
    :goto_0
    const/4 v3, 0x2

    if-ge v2, v3, :cond_2

    .line 363
    if-nez v2, :cond_0

    const/4 v3, 0x0

    move v0, v3

    .line 364
    .local v0, bSecret:Z
    :goto_1
    invoke-direct {p0, p1, v0}, Lcom/nemustech/regina/ReginaPreference;->getWorkspaceIndex(IZ)I

    move-result v1

    .line 365
    .local v1, index:I
    const/4 v3, -0x1

    if-eq v1, v3, :cond_1

    return v1

    .line 363
    .end local v0           #bSecret:Z
    .end local v1           #index:I
    :cond_0
    const/4 v3, 0x1

    move v0, v3

    goto :goto_1

    .line 362
    .restart local v0       #bSecret:Z
    .restart local v1       #index:I
    :cond_1
    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    .line 367
    .end local v0           #bSecret:Z
    .end local v1           #index:I
    :cond_2
    const-string v3, "ReginaPreference"

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, "Given uid "

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-static {v3, v4}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 368
    new-instance v3, Ljava/lang/IllegalArgumentException;

    const-string v4, "The given UID does not exist"

    invoke-direct {v3, v4}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v3
.end method

.method public getWorkspaceLeftAppClassName()Ljava/lang/String;
    .locals 3

    .prologue
    .line 672
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v1, "regina.workspace.left.app.class.name"

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getWorkspaceLeftAppIcon()Ljava/lang/String;
    .locals 3

    .prologue
    .line 680
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v1, "regina.workspace.left.app.icon"

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getWorkspaceLeftAppIntentAction()Ljava/lang/String;
    .locals 3

    .prologue
    .line 688
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v1, "regina.workspace.left.app.intent.action"

    const-string v2, "android.intent.action.CALL_BUTTON"

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getWorkspaceLeftAppPackageName()Ljava/lang/String;
    .locals 3

    .prologue
    .line 664
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v1, "regina.workspace.left.app.package.name"

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getWorkspaceMaxCount(Z)I
    .locals 3
    .parameter "bSecret"

    .prologue
    .line 431
    const-string v1, "regina.workspace.max_no"

    invoke-direct {p0, v1, p1}, Lcom/nemustech/regina/ReginaPreference;->getPrefKey(Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v0

    .line 432
    .local v0, key:Ljava/lang/String;
    iget-object v1, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const/4 v2, 0x0

    invoke-interface {v1, v0, v2}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v1

    return v1
.end method

.method public getWorkspaceMinCount(Z)I
    .locals 3
    .parameter "bSecret"

    .prologue
    .line 426
    const-string v1, "regina.workspace.min_no"

    invoke-direct {p0, v1, p1}, Lcom/nemustech/regina/ReginaPreference;->getPrefKey(Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v0

    .line 427
    .local v0, key:Ljava/lang/String;
    iget-object v1, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const/4 v2, 0x0

    invoke-interface {v1, v0, v2}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v1

    return v1
.end method

.method public getWorkspaceName()Z
    .locals 3

    .prologue
    .line 472
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    iget-object v1, p0, Lcom/nemustech/regina/ReginaPreference;->mAppContext:Landroid/content/Context;

    const v2, 0x7f0700a8

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x1

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z

    move-result v0

    return v0
.end method

.method public getWorkspaceNameByIndex(IZ)Ljava/lang/String;
    .locals 2
    .parameter "index"
    .parameter "bSecret"

    .prologue
    .line 391
    invoke-virtual {p0, p1, p2}, Lcom/nemustech/regina/ReginaPreference;->getWorkspaceUID(IZ)I

    move-result v0

    .line 392
    .local v0, uid:I
    invoke-virtual {p0, v0, p2}, Lcom/nemustech/regina/ReginaPreference;->getWorkspaceNameByUID(IZ)Ljava/lang/String;

    move-result-object v1

    return-object v1
.end method

.method public getWorkspaceNameByUID(IZ)Ljava/lang/String;
    .locals 4
    .parameter "uid"
    .parameter "bSecret"

    .prologue
    .line 385
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "regina.workspace.name."

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-direct {p0, v2, p2}, Lcom/nemustech/regina/ReginaPreference;->getPrefKey(Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v0

    .line 386
    .local v0, key:Ljava/lang/String;
    iget-object v2, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const/4 v3, 0x0

    invoke-interface {v2, v0, v3}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 387
    .local v1, value:Ljava/lang/String;
    return-object v1
.end method

.method public getWorkspaceRightAppClassName()Ljava/lang/String;
    .locals 3

    .prologue
    .line 704
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v1, "regina.workspace.right.app.class.name"

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getWorkspaceRightAppIcon()Ljava/lang/String;
    .locals 3

    .prologue
    .line 712
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v1, "regina.workspace.right.app.icon"

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getWorkspaceRightAppIntentAction()Ljava/lang/String;
    .locals 3

    .prologue
    .line 720
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v1, "regina.workspace.right.app.intent.action"

    const-string v2, "android.intent.action.MAIN"

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getWorkspaceRightAppPackageName()Ljava/lang/String;
    .locals 3

    .prologue
    .line 696
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v1, "regina.workspace.right.app.package.name"

    const-string v2, "com.android.browser"

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getWorkspaceUID(IZ)I
    .locals 5
    .parameter "index"
    .parameter "bSecret"

    .prologue
    const/4 v4, -0x1

    .line 413
    invoke-virtual {p0, p2}, Lcom/nemustech/regina/ReginaPreference;->getWorkspaceCount(Z)I

    move-result v2

    if-lt p1, v2, :cond_0

    .line 414
    new-instance v2, Ljava/lang/IllegalArgumentException;

    const-string v3, "Invalid index"

    invoke-direct {v2, v3}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v2

    .line 416
    :cond_0
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "regina.workspace.uid."

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-direct {p0, v2, p2}, Lcom/nemustech/regina/ReginaPreference;->getPrefKey(Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v0

    .line 419
    .local v0, key:Ljava/lang/String;
    iget-object v2, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    invoke-interface {v2, v0, v4}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v1

    .line 420
    .local v1, uid:I
    if-ne v1, v4, :cond_1

    new-instance v2, Ljava/lang/IllegalStateException;

    const-string v3, "Couldn\'t find mathching uid"

    invoke-direct {v2, v3}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v2

    .line 422
    :cond_1
    return v1
.end method

.method public getWorkspaceVibration()Z
    .locals 3

    .prologue
    .line 480
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    iget-object v1, p0, Lcom/nemustech/regina/ReginaPreference;->mAppContext:Landroid/content/Context;

    const v2, 0x7f0700a6

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x1

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z

    move-result v0

    return v0
.end method

.method public isAntiAliasing()Z
    .locals 3

    .prologue
    .line 496
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    iget-object v1, p0, Lcom/nemustech/regina/ReginaPreference;->mAppContext:Landroid/content/Context;

    const v2, 0x7f0700a3

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x1

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z

    move-result v0

    return v0
.end method

.method public isAppListScrollEffectOn()Z
    .locals 3

    .prologue
    .line 274
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v1, "regina.applist.scroll.effect"

    const/4 v2, 0x1

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z

    move-result v0

    return v0
.end method

.method public isDeveloperMode()Z
    .locals 3

    .prologue
    .line 270
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    const-string v1, "regina.launcher.modev"

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z

    move-result v0

    return v0
.end method

.method public isSecretWorkspace(I)Z
    .locals 3
    .parameter "uid"

    .prologue
    const/4 v2, 0x1

    .line 407
    invoke-direct {p0, p1, v2}, Lcom/nemustech/regina/ReginaPreference;->getWorkspaceIndex(IZ)I

    move-result v0

    .line 408
    .local v0, index:I
    const/4 v1, -0x1

    if-eq v0, v1, :cond_0

    move v1, v2

    :goto_0
    return v1

    :cond_0
    const/4 v1, 0x0

    goto :goto_0
.end method

.method public registerPreferenceChangeListener(Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;)V
    .locals 1
    .parameter "listener"

    .prologue
    .line 241
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    invoke-interface {v0, p1}, Landroid/content/SharedPreferences;->registerOnSharedPreferenceChangeListener(Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;)V

    .line 242
    return-void
.end method

.method public removeClockWidgetCityCode(Ljava/lang/String;)V
    .locals 3
    .parameter "widgetId"

    .prologue
    .line 589
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "regina.widget.clock.city.code."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1}, Landroid/content/SharedPreferences$Editor;->remove(Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 590
    return-void
.end method

.method public removeClockWidgetCityName(Ljava/lang/String;)V
    .locals 3
    .parameter "widgetId"

    .prologue
    .line 577
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "regina.widget.clock.city.name."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1}, Landroid/content/SharedPreferences$Editor;->remove(Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 578
    return-void
.end method

.method public removeClockWidgetData(Ljava/lang/String;)V
    .locals 3
    .parameter "widgetId"

    .prologue
    .line 563
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "regina.widget.clock.city."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1}, Landroid/content/SharedPreferences$Editor;->remove(Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 564
    return-void
.end method

.method public removeClockWidgetGmt(Ljava/lang/String;)V
    .locals 3
    .parameter "widgetId"

    .prologue
    .line 601
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "regina.widget.clock.gmt."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1}, Landroid/content/SharedPreferences$Editor;->remove(Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 602
    return-void
.end method

.method public removeClockWidgetHourMode(Ljava/lang/String;)V
    .locals 3
    .parameter "widgetId"

    .prologue
    .line 625
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "regina.widget.clock.hour.mode."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1}, Landroid/content/SharedPreferences$Editor;->remove(Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 626
    return-void
.end method

.method public removeClockWidgetTempUnit(Ljava/lang/String;)V
    .locals 3
    .parameter "widgetId"

    .prologue
    .line 613
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "regina.widget.clock.temp.unit."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1}, Landroid/content/SharedPreferences$Editor;->remove(Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 614
    return-void
.end method

.method public removeWorkspace(I)V
    .locals 12
    .parameter "uid"

    .prologue
    const/4 v11, -0x1

    const/4 v10, 0x1

    .line 309
    const/4 v0, 0x0

    .line 310
    .local v0, bSecret:Z
    const/4 v2, -0x1

    .line 312
    .local v2, index:I
    const/4 v3, 0x0

    .local v3, j:I
    :goto_0
    const/4 v7, 0x2

    if-ge v3, v7, :cond_0

    .line 313
    if-nez v3, :cond_1

    const/4 v7, 0x0

    move v0, v7

    .line 314
    :goto_1
    invoke-direct {p0, p1, v0}, Lcom/nemustech/regina/ReginaPreference;->getWorkspaceIndex(IZ)I

    move-result v2

    .line 315
    if-eq v2, v11, :cond_2

    .line 318
    :cond_0
    const-string v7, "ReginaPreference"

    new-instance v8, Ljava/lang/StringBuilder;

    invoke-direct {v8}, Ljava/lang/StringBuilder;-><init>()V

    const-string v9, "Delete workspace of uid "

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v8

    invoke-virtual {v8, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v8

    invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v8

    invoke-static {v7, v8}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 319
    if-ne v2, v11, :cond_3

    new-instance v7, Ljava/lang/IllegalStateException;

    const-string v8, "Invalid uid"

    invoke-direct {v7, v8}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v7

    :cond_1
    move v0, v10

    .line 313
    goto :goto_1

    .line 312
    :cond_2
    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    .line 325
    :cond_3
    invoke-virtual {p0, v0}, Lcom/nemustech/regina/ReginaPreference;->getWorkspaceCount(Z)I

    move-result v6

    .line 326
    .local v6, workspaceCount:I
    move v1, v2

    .local v1, i:I
    :goto_2
    sub-int v7, v6, v10

    if-ge v1, v7, :cond_4

    .line 327
    add-int/lit8 v7, v1, 0x1

    invoke-virtual {p0, v7, v0}, Lcom/nemustech/regina/ReginaPreference;->getWorkspaceUID(IZ)I

    move-result v5

    .line 328
    .local v5, localid:I
    invoke-virtual {p0, v1, v5, v0}, Lcom/nemustech/regina/ReginaPreference;->setWorkspaceUID(IIZ)V

    .line 326
    add-int/lit8 v1, v1, 0x1

    goto :goto_2

    .line 332
    .end local v5           #localid:I
    :cond_4
    new-instance v7, Ljava/lang/StringBuilder;

    invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V

    const-string v8, "regina.workspace.uid."

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    sub-int v8, v6, v10

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-direct {p0, v7, v0}, Lcom/nemustech/regina/ReginaPreference;->getPrefKey(Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v4

    .line 333
    .local v4, key:Ljava/lang/String;
    iget-object v7, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    invoke-interface {v7, v4}, Landroid/content/SharedPreferences$Editor;->remove(Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 336
    new-instance v7, Ljava/lang/StringBuilder;

    invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V

    const-string v8, "regina.workspace.wallpaper."

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    .line 337
    iget-object v7, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    invoke-interface {v7, v4}, Landroid/content/SharedPreferences$Editor;->remove(Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 340
    sub-int v7, v6, v10

    invoke-direct {p0, v7, v0}, Lcom/nemustech/regina/ReginaPreference;->setWorkspaceCount(IZ)V

    .line 341
    invoke-virtual {p0}, Lcom/nemustech/regina/ReginaPreference;->commitPref()Z

    .line 342
    return-void
.end method

.method public removeWorkspaceNameByIndex(IZ)V
    .locals 1
    .parameter "index"
    .parameter "bSecret"

    .prologue
    .line 402
    invoke-virtual {p0, p1, p2}, Lcom/nemustech/regina/ReginaPreference;->getWorkspaceUID(IZ)I

    move-result v0

    .line 403
    .local v0, uid:I
    invoke-virtual {p0, v0, p2}, Lcom/nemustech/regina/ReginaPreference;->removeWorkspaceNameByUID(IZ)V

    .line 404
    return-void
.end method

.method public removeWorkspaceNameByUID(IZ)V
    .locals 3
    .parameter "uid"
    .parameter "bSecret"

    .prologue
    .line 396
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "regina.workspace.name."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {p0, v1, p2}, Lcom/nemustech/regina/ReginaPreference;->getPrefKey(Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v0

    .line 397
    .local v0, key:Ljava/lang/String;
    iget-object v1, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    invoke-interface {v1, v0}, Landroid/content/SharedPreferences$Editor;->remove(Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 398
    invoke-virtual {p0}, Lcom/nemustech/regina/ReginaPreference;->commitPref()Z

    .line 399
    return-void
.end method

.method public setClockWidgetApp(Landroid/content/ComponentName;)V
    .locals 3
    .parameter "componentName"

    .prologue
    .line 637
    if-eqz p1, :cond_0

    .line 638
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v1, "regina.widget.clock.app.package.name"

    invoke-virtual {p1}, Landroid/content/ComponentName;->getPackageName()Ljava/lang/String;

    move-result-object v2

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 639
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v1, "regina.widget.clock.app.class.name"

    invoke-virtual {p1}, Landroid/content/ComponentName;->getClassName()Ljava/lang/String;

    move-result-object v2

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 641
    :cond_0
    return-void
.end method

.method public setClockWidgetCityCode(Ljava/lang/String;Ljava/lang/String;)V
    .locals 3
    .parameter "widgetId"
    .parameter "cityCode"

    .prologue
    .line 585
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "regina.widget.clock.city.code."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1, p2}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 586
    return-void
.end method

.method public setClockWidgetCityData(Ljava/lang/String;Ljava/lang/String;)V
    .locals 3
    .parameter "widgetId"
    .parameter "cityData"

    .prologue
    .line 559
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "regina.widget.clock.city."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1, p2}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 560
    return-void
.end method

.method public setClockWidgetCityName(Ljava/lang/String;Ljava/lang/String;)V
    .locals 3
    .parameter "widgetId"
    .parameter "cityName"

    .prologue
    .line 573
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "regina.widget.clock.city.name."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1, p2}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 574
    return-void
.end method

.method public setClockWidgetGmt(Ljava/lang/String;Ljava/lang/String;)V
    .locals 3
    .parameter "widgetId"
    .parameter "gmt"

    .prologue
    .line 597
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "regina.widget.clock.gmt."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1, p2}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 598
    return-void
.end method

.method public setClockWidgetHourMode(Ljava/lang/String;Z)V
    .locals 3
    .parameter "widgetId"
    .parameter "hourMode"

    .prologue
    .line 617
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "regina.widget.clock.hour.mode."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1, p2}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;

    .line 618
    return-void
.end method

.method public setClockWidgetTempUnit(Ljava/lang/String;I)V
    .locals 3
    .parameter "widgetId"
    .parameter "tempUnit"

    .prologue
    .line 605
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "regina.widget.clock.temp.unit."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1, p2}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    .line 606
    return-void
.end method

.method public setInitializationStatus(I)V
    .locals 2
    .parameter "status"

    .prologue
    .line 652
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v1, "regina.launcher.initialization"

    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    .line 653
    return-void
.end method

.method public setReginaWidgetAppmgrPrefRow(I)V
    .locals 2
    .parameter "rowNum"

    .prologue
    .line 549
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v1, "regina.widget.appmgr.pref.row"

    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    .line 550
    return-void
.end method

.method public setReginaWidgetApptClassName(Ljava/lang/String;)V
    .locals 2
    .parameter "clsName"

    .prologue
    .line 525
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v1, "regina.widget.appt.cls"

    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 526
    return-void
.end method

.method public setReginaWidgetApptPackageName(Ljava/lang/String;)V
    .locals 2
    .parameter "pkgName"

    .prologue
    .line 517
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v1, "regina.widget.appt.pkg"

    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 518
    return-void
.end method

.method public setReginaWidgetApptPrefRow(I)V
    .locals 2
    .parameter "rowNum"

    .prologue
    .line 533
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v1, "regina.widget.appt.pref.row"

    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    .line 534
    return-void
.end method

.method public setReginaWidgetTasksPrefRow(I)V
    .locals 2
    .parameter "rowNum"

    .prologue
    .line 541
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v1, "regina.widget.task.pref.row"

    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    .line 542
    return-void
.end method

.method public setRestartByRestore(Z)V
    .locals 2
    .parameter "restart"

    .prologue
    .line 448
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v1, "regina.launcher.restart"

    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;

    .line 449
    return-void
.end method

.method public setSetToDefaults(Z)V
    .locals 2
    .parameter "set"

    .prologue
    .line 456
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v1, "regina.launcher.settodefaults"

    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;

    .line 457
    return-void
.end method

.method public setThemeWallpaperFlag(Z)V
    .locals 2
    .parameter "flag"

    .prologue
    .line 744
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v1, "regina.theme.wallpaper.flag"

    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;

    .line 745
    return-void
.end method

.method public setThemeWallpaperPackage(Ljava/lang/String;)V
    .locals 2
    .parameter "pkgName"

    .prologue
    .line 724
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v1, "regina.theme.wallpaper.package"

    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 725
    return-void
.end method

.method public setThemeWallpaperResid(I)V
    .locals 2
    .parameter "resId"

    .prologue
    .line 732
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v1, "regina.theme.wallpaper.resid"

    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    .line 733
    return-void
.end method

.method public setThemeWallpaperWorkspaceIndex(I)V
    .locals 2
    .parameter "wsIndex"

    .prologue
    .line 748
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v1, "regina.theme.wallpaper.workspace.index"

    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    .line 749
    return-void
.end method

.method public setToDefaultsPref()V
    .locals 7

    .prologue
    const/4 v6, 0x0

    const/4 v5, 0x1

    const/4 v4, 0x3

    .line 221
    iget-object v1, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    iget-object v2, p0, Lcom/nemustech/regina/ReginaPreference;->mAppContext:Landroid/content/Context;

    const v3, 0x7f070095

    invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x5

    invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    .line 222
    iget-object v1, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v2, "regina.workspace.min_no"

    invoke-interface {v1, v2, v4}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    .line 223
    iget-object v1, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v2, "regina.workspace.max_no"

    const/4 v3, 0x7

    invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    .line 225
    iget-object v1, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    iget-object v2, p0, Lcom/nemustech/regina/ReginaPreference;->mAppContext:Landroid/content/Context;

    const v3, 0x7f070090

    invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-interface {v1, v2, v4}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    .line 226
    const-string v1, "regina.workspace.min_no"

    invoke-direct {p0, v1, v5}, Lcom/nemustech/regina/ReginaPreference;->getPrefKey(Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v0

    .line 227
    .local v0, key:Ljava/lang/String;
    iget-object v1, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    invoke-interface {v1, v0, v4}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    .line 228
    const-string v1, "regina.workspace.max_no"

    invoke-direct {p0, v1, v5}, Lcom/nemustech/regina/ReginaPreference;->getPrefKey(Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v0

    .line 229
    iget-object v1, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    invoke-interface {v1, v0, v4}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    .line 231
    iget-object v1, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v2, "regina.workspace.background.postfix"

    const-string v3, "_wallpaper.png"

    invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 233
    iget-object v1, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v2, "regina.widget.appt.pkg"

    invoke-interface {v1, v2, v6}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 234
    iget-object v1, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v2, "regina.widget.appt.cls"

    invoke-interface {v1, v2, v6}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 236
    iget-object v1, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v2, "regina.launcher.initialization"

    const/4 v3, -0x1

    invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    .line 237
    iget-object v1, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    invoke-interface {v1}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 238
    return-void
.end method

.method public setUpdatePeriod(J)V
    .locals 2
    .parameter "period"

    .prologue
    .line 629
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v1, "regina.widget.clock.update.period"

    invoke-interface {v0, v1, p1, p2}, Landroid/content/SharedPreferences$Editor;->putLong(Ljava/lang/String;J)Landroid/content/SharedPreferences$Editor;

    .line 630
    return-void
.end method

.method public setWallpaper(ILjava/lang/String;)V
    .locals 3
    .parameter "workspaceUID"
    .parameter "wallpaperName"

    .prologue
    .line 507
    const-string v0, "ReginaPreference"

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "[setWallPaper()] wallpaperKEY=regina.workspace.wallpaper."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 508
    const-string v0, "ReginaPreference"

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "[setWallPaper()] wallpaperName="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 509
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "regina.workspace.wallpaper."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1, p2}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 510
    return-void
.end method

.method public setWorkspaceLeftAppClassName(Ljava/lang/String;)V
    .locals 2
    .parameter "className"

    .prologue
    .line 668
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v1, "regina.workspace.left.app.class.name"

    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 669
    return-void
.end method

.method public setWorkspaceLeftAppIcon(Ljava/lang/String;)V
    .locals 2
    .parameter "icon"

    .prologue
    .line 676
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v1, "regina.workspace.left.app.icon"

    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 677
    return-void
.end method

.method public setWorkspaceLeftAppIntentAction(Ljava/lang/String;)V
    .locals 2
    .parameter "intentAction"

    .prologue
    .line 684
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v1, "regina.workspace.left.app.intent.action"

    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 685
    return-void
.end method

.method public setWorkspaceLeftAppPackageName(Ljava/lang/String;)V
    .locals 2
    .parameter "packageName"

    .prologue
    .line 660
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v1, "regina.workspace.left.app.package.name"

    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 661
    return-void
.end method

.method public setWorkspaceName(ILjava/lang/String;Z)V
    .locals 3
    .parameter "uid"
    .parameter "name"
    .parameter "bSecret"

    .prologue
    .line 379
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "regina.workspace.name."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {p0, v1, p3}, Lcom/nemustech/regina/ReginaPreference;->getPrefKey(Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v0

    .line 380
    .local v0, key:Ljava/lang/String;
    iget-object v1, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    invoke-interface {v1, v0, p2}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 381
    invoke-virtual {p0}, Lcom/nemustech/regina/ReginaPreference;->commitPref()Z

    .line 382
    return-void
.end method

.method public setWorkspaceRightAppClassName(Ljava/lang/String;)V
    .locals 2
    .parameter "className"

    .prologue
    .line 700
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v1, "regina.workspace.right.app.class.name"

    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 701
    return-void
.end method

.method public setWorkspaceRightAppIcon(Ljava/lang/String;)V
    .locals 2
    .parameter "icon"

    .prologue
    .line 708
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v1, "regina.workspace.right.app.icon"

    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 709
    return-void
.end method

.method public setWorkspaceRightAppIntentAction(Ljava/lang/String;)V
    .locals 2
    .parameter "intentAction"

    .prologue
    .line 716
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v1, "regina.workspace.right.app.intent.action"

    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 717
    return-void
.end method

.method public setWorkspaceRightAppPackageName(Ljava/lang/String;)V
    .locals 2
    .parameter "packageName"

    .prologue
    .line 692
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    const-string v1, "regina.workspace.right.app.package.name"

    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    .line 693
    return-void
.end method

.method public setWorkspaceUID(IIZ)V
    .locals 3
    .parameter "index"
    .parameter "uid"
    .parameter "bSecret"

    .prologue
    .line 374
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "regina.workspace.uid."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {p0, v1, p3}, Lcom/nemustech/regina/ReginaPreference;->getPrefKey(Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v0

    .line 375
    .local v0, key:Ljava/lang/String;
    iget-object v1, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedEditor:Landroid/content/SharedPreferences$Editor;

    invoke-interface {v1, v0, p2}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    .line 376
    return-void
.end method

.method public unregisterPreferenceChangeListener(Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;)V
    .locals 1
    .parameter "listener"

    .prologue
    .line 245
    iget-object v0, p0, Lcom/nemustech/regina/ReginaPreference;->mSharedPref:Landroid/content/SharedPreferences;

    invoke-interface {v0, p1}, Landroid/content/SharedPreferences;->unregisterOnSharedPreferenceChangeListener(Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;)V

    .line 246
    return-void
.end method
